import requests
import  re
import json


url = 'https://xueqiu.com/statuses/hot/listV3.json?page=1&last_id=359787065&md5__1038=287ec7c416-wvDuqfph3a1M1auNuWeRWPuCv3V2bSpSCzOdO3CUR12bdhhHCWMMOWRu%2Fjb65W51FWG1WZvzf1CZW313GWmjvWjWC9WYWMlXW_uW0Wf_qXWeRW204sumw3TWTI_kWwjhFWNOBH3BW%3DRcW%3DN2WlO6WY7v3rOW4M3vHzu4FpO6z66WzzOjXBS3lYTPfriqhwW'

headers = {
    "accept": "application/json, text/plain, */*",
    "accept-encoding": "gzip, deflate, zstd",
    "accept-language": "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7",
    "cache-control": "no-cache",
    "connection": "keep-alive",
    "cookie": "acw_tc=3ccdc14a17622558509445790e66b40494492e9f321685877b68ef4da9329f; xq_a_token=144a75f00fac53d1ebae9a21261446d57d4443d1; xqat=144a75f00fac53d1ebae9a21261446d57d4443d1; xq_r_token=b9b51aaaa1483ef9b74ce0216d64fd270a74d442; xq_id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ1aWQiOi0xLCJpc3MiOiJ1YyIsImV4cCI6MTc2NDIwNjEyNSwiY3RtIjoxNzYyMjU1ODA0NzAwLCJjaWQiOiJkOWQwbjRBWnVwIn0.UaoEZn2OowBlY0NUujs--cZthazkzxMTh8N3sBQgJ0MMBqvIhpcDvM0Ck1HJV1b-CbprKeXv0aqywJ21X9RZi_UmZJtK8gXNKODBBQLUULzFPYXIiyzG5QTcFLcYcFX1zNPjy5CeWWMmABS2IOVrIGOMr035p4BRSPCZ9Gtyj96nmD9x46D7GjvnyLAtB90g8xmH-7uShigT_FbXhz8NjBykIm4bnSVkYOYKEXsXZI2KDLJPVzsJq2Movio9mNga8gyt9rwLKrXX3gb8EiZE8MT0ofCJoGtoTLCBNve4c6dbXXkYBG6FWz_i3abtshSITCmebp-a4CzldZDfpgoArA; cookiesu=701762255851990; u=701762255851990; device_id=c50706937b9592d15222419f0c0586d8; smidV2=20251104193055a628b6a6ecb4ed28067916b5519b6fbb005779f95d96096d0; Hm_lvt_1db88642e346389874251b5a1eded6e3=1762255855; HMACCOUNT=E5B64E4D33FFD801; Hm_lpvt_1db88642e346389874251b5a1eded6e3=1762256781; .thumbcache_f24b8bbe5a5934237bbc0eda20c1b6e7=V8Yj0NCgxpEmqpZm+u8tuG2jyLS75BL2HZj8Ql2J6dHcuujdFRFAE5SNmEq8ryDC6fjH7lZTwkvytgswkiz7Rg%3D%3D; ssxmod_itna=1-YqGxBQ0=D=iQn4mqYjK1x3ktDcnD9exBP017D_xQ5DODLxnRDGdDuYyjj39ml=nZohx4e/0rmm1DBL2rDSxD6HDK4GT_z67BUGelBhE_Y=92h95pK/jigvKqWIGKxpnEymIhnKO8K6xifLN_ehKrDB3DbqDyAODrQieD4f3Dt4DIDAYDDxDWDYEPxGtQDG=D7Ouio6ntxi3DbraDmd2WzaFD04w=LC9oDDtAbeG2b2T4DDN_Y34opiFDY32O2G7rEoSK87TDjdPD/_q0o7TGqsC4b=SjyKFpfeGy_5Gu3pyioFKNHcW7PODjoG_GDDQbCGonAxKY4dGDvOxM7xn7xxrhQDode5PDermQPlw_DDihmYa04SGNY4gaXMEfPENYaKpehM0mSY4NiGeimelGCUwzlqtlhhQDsQ4tehYjIenh5a0xexxD; ssxmod_itna2=1-YqGxBQ0=D=iQn4mqYjK1x3ktDcnD9exBP017D_xQ5DODLxnRDGdDuYyjj39ml=nZohx4e/0rmerDGbW44_AgD03VFYcoD/8YZcFCC0bGLH5750pInPe4uZQY8q0I/pcPK09aS9YKFmydc/Mpntdhe8kLBDW32Bh6HBG3EAxXUzwbgSSwKuQNqSCrZQY_Ym_q48GK6CTf/7Lhu_mb9AhuUekrqmQKPpLxGg838F1xz=YhZ_PbCBQyKDmGnIza4TdBADmusWqRmoI9ltwKskk=NpmIXpdOUozUZKv6CECcuekGc7ajPUq/NY0ktezeRaAn50bezqvAx7WpmKDqrWHbyFe4qn9BIKmQDA8DAWHzfnzI9eVKpDqhIWYwxaYRxpq/3aIiA78g5AhYz_YnONsRrBhNDRi_BDK2TifNPD",
    "host": "xueqiu.com",
    "pragma": "no-cache",
    "referer": "https://xueqiu.com/",
    "sec-ch-ua": "\"Chromium\";v=\"142\", \"Google Chrome\";v=\"142\", \"Not_A Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"
}
res = requests.get(url,headers=headers)
print(res.json())



